package com.coffee.takeoutserver.service;

import com.coffee.takeoutserver.bean.User;

public interface UserService {
    User getUserByPhone(String phone);
    void addUser(User user);
    void updateUser(User user);
    User loginByPhoneAndPassword(String phone,String password);
    User getUserById(int id);
}
